import { BaseRequest } from './base';

// 文本到图像接口的请求参数类型
export interface Txt2ImgRequest extends BaseRequest {
  // txt2img特有参数
  enable_hr?: boolean;
  hr_scale?: number;
  hr_upscaler?: string;
  hr_second_pass_steps?: number;
  hr_resize_x?: number;
  hr_resize_y?: number;
  hr_checkpoint_name?: string;
  hr_sampler_name?: string;
  hr_scheduler?: string;
  hr_prompt?: string;
  hr_negative_prompt?: string;
  firstphase_width?: number;
  firstphase_height?: number;
  denoising_strength?: number;
}